using System;
using System.Collections.Generic;
using EP.Base.BaseService.Manager.Model.Entity;

namespace EP.Base.BaseService.Manager.Interface.Data
{    
	/// <summary>
    /// LogstashConfigLog 接口
    /// </summary>
     public interface ILogstashConfigLogs
    {

		/// <summary>
		/// 添加LogstashConfigLog
		/// </summary>
		/// <param name="logstashconfiglog"></param>
		/// <returns></returns>
		int Add(LogstashConfigLog logstashconfiglog);
		/// <summary>
       /// 修改LogstashConfigLog
       /// </summary>
       /// <param name="logstashconfiglog"></param>
       /// <returns></returns>
       int Update(LogstashConfigLog logstashconfiglog);
		/// <summary>
		/// 根据id获取LogstashConfigLog
		/// </summary>
		/// <param name="id"></param>
		/// <returns></returns>
		LogstashConfigLog Get(int id);
		/// <summary>
		/// 根据id删除LogstashConfigLog
		/// </summary>
		/// <param name="id"></param>
		/// <returns></returns>
		Int32 Delete(int id);
		/// <summary>
		/// 根据ids删除LogstashConfigLog多条记录
		/// </summary>
		/// <param name="ids"></param>
		/// <returns></returns>
		Int32 Deletes(int[] ids);
		/// <summary>
       /// 获取LogstashConfigLog分页列表
       /// </summary>
       /// <param name="pageIndex">页码</param>
       /// <param name="pageSize">每页显示条数</param>
       /// <param name="beginTime">开始时间</param>
       /// <param name="endTime">结束时间</param>
       /// <param name="recordCount">总记录数</param>
       /// <returns>LogstashConfigLog列表</returns>
       List<LogstashConfigLog> GetPageList(int pageIndex, int pageSize, DateTime? beginTime, DateTime? endTime, out int recordCount);
	  
		/// <summary>
		/// 获取所有LogstashConfigLog
		/// </summary>
		/// <returns></returns>
		List<LogstashConfigLog> GetAll();
    }
}
